package org.example.Strategy;

import java.math.BigDecimal;

//无折扣策略
public class NoDiscount implements DiscountStrategy{
    @Override
    public BigDecimal applyDiscount(BigDecimal basePrice, int quantity) {
        return basePrice.multiply(BigDecimal.valueOf(quantity));
    }
}
